summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/index.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:41:29 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:41:29 +0100
commit7781c69153e3956ca14684fe9a287fbbb8a01082 (patch)
tree6bf18977ee93608aead54dc2322c0d42c2284f78 /src/pages/[locale]/index.astro
parent71eac2d383c9918645e99b6b845fb8f4faecf346 (diff)
Determines current locale with lib function
Diffstat (limited to 'src/pages/[locale]/index.astro')
-rw-r--r--src/pages/[locale]/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index b065e50..c32ddf6 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -14,7 +14,7 @@ const locale = Astro.params.locale as Locale;
const t = translate(locale);
---
-<Page locale={locale} title={t(home, { key: 'title' })}>
+<Page title={t(home, { key: 'title' })}>
<section>
<h1 class="title">{t(site, { key: 'title' })}</h1>
<h1>Tap-level heidin</h1>